import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from '@/App.vue';
import router from '@/router';

import registerIcon from '@/plugins/registerIcon';

// 引入全局样式
import '@/assets/styles/base-style.css';
import 'animate.css';

// 引入自动图标注册
import 'virtual:svg-icons-register';

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(registerIcon);

app.mount('#app')
